package com.example.growthmuseum.daos;

import com.example.growthmuseum.models.User;
import org.apache.ibatis.annotations.Param;

/**
 * Created by Roman on 2016/10/30.
 */
public interface IUserDao {
    Integer addUser(User user);

    Integer updateUser(@Param("user") User user);

    User findUser(@Param("username") String username,
                  @Param("pwd") String pwd);
}
